package com.gengzp.common.model.role.req;

import com.gengzp.common.document.annotations.ApiModel;
import com.gengzp.common.document.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @ClassName EditSysRoleReq
 * @Description 编辑系统角色请求实体
 * @Author gengzp
 * @Date 2025/5/16 21:06
 */
@Data
@ApiModel(description = "编辑系统角色请求实体")
public class EditSysRoleReq implements Serializable {

    @Serial
    private static final long serialVersionUID = 5012898282274554377L;

    /**
     * 角色id
     */
    @NotBlank(message = "角色id不能为空")
    @ApiModelProperty(value = "角色id", required = true)
    private String roleId;

    /**
     * 角色名称
     */
    @NotBlank(message = "角色名称不能为空")
    @ApiModelProperty(value = "角色名称", required = true)
    private String roleName;

    /**
     * 角色描述
     */
    @ApiModelProperty(value = "角色描述")
    private String roleDescription;

}
